<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<title>JSON Voorhees: Creation</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script src="http://www.mathjax.org/mathjax/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">JSON Voorhees
   </div>
   <div id="projectbrief">Killer JSON for C++</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__Creation.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Creation</div>  </div>
</div><!--header-->
<div class="contents">

<p>Free functions meant for easily creating <code>value</code> instances.  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gaee0b1767f4ec42adc02c5b0bb0781b91"><td class="memItemLeft" align="right" valign="top"><a class="el" href="config_8hpp.html#acd0703012bd724b356c177b7bc3d761d">JSONV_PUBLIC</a> value&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Creation.html#gaee0b1767f4ec42adc02c5b0bb0781b91">jsonv::array</a> ()</td></tr>
<tr class="memdesc:gaee0b1767f4ec42adc02c5b0bb0781b91"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an empty array value.  <a href="#gaee0b1767f4ec42adc02c5b0bb0781b91">More...</a><br /></td></tr>
<tr class="separator:gaee0b1767f4ec42adc02c5b0bb0781b91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4f0838289f72088c6a079e00140efda2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="config_8hpp.html#acd0703012bd724b356c177b7bc3d761d">JSONV_PUBLIC</a> value&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Creation.html#ga4f0838289f72088c6a079e00140efda2">jsonv::array</a> (std::initializer_list&lt; value &gt; source)</td></tr>
<tr class="memdesc:ga4f0838289f72088c6a079e00140efda2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an array value from the given source.  <a href="#ga4f0838289f72088c6a079e00140efda2">More...</a><br /></td></tr>
<tr class="separator:ga4f0838289f72088c6a079e00140efda2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8c4ac5022703a328eddc667d4ce333ed"><td class="memTemplParams" colspan="2">template&lt;typename TForwardIterator &gt; </td></tr>
<tr class="memitem:ga8c4ac5022703a328eddc667d4ce333ed"><td class="memTemplItemLeft" align="right" valign="top">value&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__Creation.html#ga8c4ac5022703a328eddc667d4ce333ed">jsonv::array</a> (TForwardIterator first, TForwardIterator last)</td></tr>
<tr class="memdesc:ga8c4ac5022703a328eddc667d4ce333ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an array with contents defined by range [<em>first</em>, <em>last</em>).  <a href="#ga8c4ac5022703a328eddc667d4ce333ed">More...</a><br /></td></tr>
<tr class="separator:ga8c4ac5022703a328eddc667d4ce333ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga757770053a2714136231e26ec7c74673"><td class="memItemLeft" align="right" valign="top"><a class="el" href="config_8hpp.html#acd0703012bd724b356c177b7bc3d761d">JSONV_PUBLIC</a> value&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Creation.html#ga757770053a2714136231e26ec7c74673">jsonv::object</a> ()</td></tr>
<tr class="memdesc:ga757770053a2714136231e26ec7c74673"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an empty object.  <a href="#ga757770053a2714136231e26ec7c74673">More...</a><br /></td></tr>
<tr class="separator:ga757770053a2714136231e26ec7c74673"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0626c41c76cb46a7859de92c1f3bdd68"><td class="memItemLeft" align="right" valign="top"><a class="el" href="config_8hpp.html#acd0703012bd724b356c177b7bc3d761d">JSONV_PUBLIC</a> value&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Creation.html#ga0626c41c76cb46a7859de92c1f3bdd68">jsonv::object</a> (std::initializer_list&lt; std::pair&lt; std::string, value &gt;&gt; source)</td></tr>
<tr class="memdesc:ga0626c41c76cb46a7859de92c1f3bdd68"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an object with key-value pairs from the given <em>source</em>.  <a href="#ga0626c41c76cb46a7859de92c1f3bdd68">More...</a><br /></td></tr>
<tr class="separator:ga0626c41c76cb46a7859de92c1f3bdd68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9052e7acde85ae6681c6512943851b68"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga9052e7acde85ae6681c6512943851b68"></a>
<a class="el" href="config_8hpp.html#acd0703012bd724b356c177b7bc3d761d">JSONV_PUBLIC</a> value&#160;</td><td class="memItemRight" valign="bottom"><b>jsonv::object</b> (std::initializer_list&lt; std::pair&lt; std::wstring, value &gt;&gt; source)</td></tr>
<tr class="separator:ga9052e7acde85ae6681c6512943851b68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabae5c5bfa8dceec8849cfe0a58ad83b1"><td class="memTemplParams" colspan="2">template&lt;typename TForwardIterator &gt; </td></tr>
<tr class="memitem:gabae5c5bfa8dceec8849cfe0a58ad83b1"><td class="memTemplItemLeft" align="right" valign="top">value&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__Creation.html#gabae5c5bfa8dceec8849cfe0a58ad83b1">jsonv::object</a> (TForwardIterator first, TForwardIterator last)</td></tr>
<tr class="memdesc:gabae5c5bfa8dceec8849cfe0a58ad83b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an object whose contents are defined by range [<em>first</em>, <em>last</em>).  <a href="#gabae5c5bfa8dceec8849cfe0a58ad83b1">More...</a><br /></td></tr>
<tr class="separator:gabae5c5bfa8dceec8849cfe0a58ad83b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>Free functions meant for easily creating <code>value</code> instances. </p>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="gaee0b1767f4ec42adc02c5b0bb0781b91"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="config_8hpp.html#acd0703012bd724b356c177b7bc3d761d">JSONV_PUBLIC</a> value jsonv::array </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create an empty array value. </p>

</div>
</div>
<a class="anchor" id="ga4f0838289f72088c6a079e00140efda2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="config_8hpp.html#acd0703012bd724b356c177b7bc3d761d">JSONV_PUBLIC</a> value jsonv::array </td>
          <td>(</td>
          <td class="paramtype">std::initializer_list&lt; value &gt;&#160;</td>
          <td class="paramname"><em>source</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create an array value from the given source. </p>

</div>
</div>
<a class="anchor" id="ga8c4ac5022703a328eddc667d4ce333ed"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TForwardIterator &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">value jsonv::array </td>
          <td>(</td>
          <td class="paramtype">TForwardIterator&#160;</td>
          <td class="paramname"><em>first</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TForwardIterator&#160;</td>
          <td class="paramname"><em>last</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create an array with contents defined by range [<em>first</em>, <em>last</em>). </p>

<p>Definition at line <a class="el" href="value_8hpp_source.html#l01022">1022</a> of file <a class="el" href="value_8hpp_source.html">value.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="ga757770053a2714136231e26ec7c74673"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="config_8hpp.html#acd0703012bd724b356c177b7bc3d761d">JSONV_PUBLIC</a> value jsonv::object </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create an empty object. </p>

</div>
</div>
<a class="anchor" id="ga0626c41c76cb46a7859de92c1f3bdd68"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="config_8hpp.html#acd0703012bd724b356c177b7bc3d761d">JSONV_PUBLIC</a> value jsonv::object </td>
          <td>(</td>
          <td class="paramtype">std::initializer_list&lt; std::pair&lt; std::string, value &gt;&gt;&#160;</td>
          <td class="paramname"><em>source</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create an object with key-value pairs from the given <em>source</em>. </p>

</div>
</div>
<a class="anchor" id="gabae5c5bfa8dceec8849cfe0a58ad83b1"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TForwardIterator &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">value jsonv::object </td>
          <td>(</td>
          <td class="paramtype">TForwardIterator&#160;</td>
          <td class="paramname"><em>first</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TForwardIterator&#160;</td>
          <td class="paramname"><em>last</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create an object whose contents are defined by range [<em>first</em>, <em>last</em>). </p>

<p>Definition at line <a class="el" href="value_8hpp_source.html#l01038">1038</a> of file <a class="el" href="value_8hpp_source.html">value.hpp</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.7 </li>
  </ul>
</div>
</body>
</html>
